<?php
/**
 * OutsourcePay.php
 * Author: luoji (867404364@qq.com)
 * Date: 2020-12-22
 * Time: 9:34
 */

namespace App\Tables;


class OutsourcePay extends Base
{
    public function details()
    {
        return $this->hasMany(OutsourcePayDetail::class, 'op_id', 'id');
    }

    public function cashFlow()
    {
        return $this->hasOne(CashFlow::class, 'id', 'c_id');
    }
}